package com.wangx1n.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * @author WangXin
 * @date 2020/12/4 10:01
 */
//把当前类当作配置类，来替代xml
@Configuration
@ComponentScan(basePackages = {"com.wangx1n.service","com.wangx1n.dao"})
public class SpringConfig {

}
